package com.codefish.codefish_blog;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
public class CodefishBlogApplication implements ApplicationRunner {

    public static void main(String[] args) {
        SpringApplication.run(CodefishBlogApplication.class, args);

    }


    @Override
    public void run(ApplicationArguments args) throws Exception {
        System.out.println("  .oooooo.                   .o8            oooooooooooo  o8o           oooo           oooooooooo.  oooo                       \n" +
                " d8P'  `Y8b                 \"888            `888'     `8  `\"'           `888           `888'   `Y8b `888                       \n" +
                "888           .ooooo.   .oooo888   .ooooo.   888         oooo   .oooo.o  888 .oo.       888     888  888   .ooooo.   .oooooooo \n" +
                "888          d88' `88b d88' `888  d88' `88b  888oooo8    `888  d88(  \"8  888P\"Y88b      888oooo888'  888  d88' `88b 888' `88b  \n" +
                "888          888   888 888   888  888ooo888  888    \"     888  `\"Y88b.   888   888      888    `88b  888  888   888 888   888  \n" +
                "`88b    ooo  888   888 888   888  888    .o  888          888  o.  )88b  888   888      888    .88P  888  888   888 `88bod8P'  \n" +
                " `Y8bood8P'  `Y8bod8P' `Y8bod88P\" `Y8bod8P' o888o        o888o 8\"\"888P' o888o o888o    o888bood8P'  o888o `Y8bod8P' `8oooooo.  \n" +
                "                                                                                                                    d\"     YD  \n" +
                "                                                                                                                    \"Y88888P'  \n" +
                "                                                                                                                               ");
        System.out.println("Running at:http://localhost:8080");
        System.out.println("Follow it:https://gitee.com/hzf2281/codefish_blog");
    }
}
